﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;


namespace ZGameFramework.Resource
{

    public interface IResourceLoader
    {
        void LoadAssetAsync<T>(string assetPath)where T:Object;

        T LoadAssetSync<T>(string assetPath)where T:Object;

        void UnloadAsset<T>(T t)where T:Object;

        void UnloadAssetAll();
    }
}